package itsos.dao;

import org.springframework.orm.ibatis.support.*;

import itsos.model.*;
import java.util.*;

public class IssueBoxDao extends SqlMapClientDaoSupport{

	public List getIssueByMemberID(long memberID)
	{
		return getSqlMapClientTemplate().queryForList("IssueBox.getIssueBoxByMemberID", memberID);
		
	}
	
	public void insertIssueBox(IssueBox issueBox)
	{
		getSqlMapClientTemplate().insert("IssueBox.insertIssueBox", issueBox);
	}
	
	public void deleteIssueBox(IssueBox issueBox)
	{
		getSqlMapClientTemplate().update("IssueBox.deleteIssueBox", issueBox);
	}
	
}
